<?php
	session_start();
	if(!isset($_SESSION["evaluador"]))
		header("location: ../index.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	
	<title>Informaci&oacute;n de mi cuenta</title>
	<?php
		include("../scripts.php");
	?>
	<style type="text/css">
		@import "../css/jquery.datepick.css";
	</style>
	<script type="text/javascript" src="../js/jquery-1.3.2.js"></script>
	<script type="text/javascript" src="../js/jquery.datepick.js"></script>
	<script type="text/javascript" src="../js/jquery.datepick-es.js"></script>
	<?php		
		require_once("../BaseDatos/db_class.php");
		$sql=new db_class();
	?>	
	<script language="JavaScript">
		$(function(){
			GetUserInfo();
			$("#passw").hide();		
		}
		);
	</script>
</head>
<body>
	<div id="main">
		<?php
			include("../layout/header.php");
			include("../layout/sidebar.php");
		?>
		<div id="rit-sur">
					<!--muestra el encabezado-->
		<h1>
			Informaci&oacute;n de usuario
			<hr/>
		</h1>
		<form id="frmuser" action="User.php" method="post">
				<div id="user">
					
				</div>
				
				<div id="passw">
					<div class="div">
						<label id="lblpassword">Contrase&ntilde;a actual</label>
						<input id ="txtpassword" name="txtpassword"  type="password" onChange="VerificarContrasena()">
						<div id="msgpassword" class="error"></div>
					</div>
					<div class="div">
						<label id="lblpassword">Nueva contrase&ntilde;a</label>
						<input id ="txtnpassword" name="txtnpassword"  type="password">
						<div id="msgnpassword" class="error"></div>
					</div>
					<div class="div">
						<label id="lblpassword2"> Confirmar nueva contrase&ntilde;a</label>
						<input id ="txtnpassword2" name="txtnpassword2" type="password"/>
						<div id="msgnpassword2" class="error"></div>
					</div>
				</div>
				
				<div id="button">
					
						<input type="button" onClick="VerificarEditarUsuario(this.form);" id="btnSiguiente" value="Aceptar" />
					
				</div>
		</form>		
		</div>
		<?php
			include("../layout/footer.php");
		?>
	</div>		
</body>
</html>